export const stateList = [
	// {
	// 	user: ['tenant'],
	// 	code: 'order1',
	// 	iconPath: '/static/nameIcon/unpaid.svg',
	// 	text: '待支付'
	// },
	// {
	// 	user: ['tenant'],
	// 	code: 'order2',
	// 	iconPath: '/static/nameIcon/finished.svg',
	// 	text: '已完成'
	// },
	// {
	// 	user: ['tenant'],
	// 	code: 'order',
	// 	iconPath: '/static/nameIcon/allOrder.svg',
	// 	text: '全部订单'
	// },
	{
		user: ['tenant','landlord'],
		code: 'order',
		iconPath: '/static/nameIcon/allOrder.svg',
		text: '我的订单'
	},
	{
		user: ['tourist', 'tenant', 'landlord'],
		code: 'mycontract',
		iconPath: '/static/nameIcon/myContract.svg',
		// text: '我的合同'
		text:'我的租约'
	},

	// {
	// 	user: ['tenant'],
	// 	iconPath: '/static/nameIcon/allExpend.svg',
	// 	text: '总支出'
	// },
	{
		user: ['landlord'],
		code: 'fundaccount',
		iconPath: '/static/nameIcon/zijin.svg',
		text: '资金账户'
	},
	// {
	// 	user: ['landlord'],
	// 	code: 'utilityBill',
	// 	iconPath: '/static/nameIcon/shuidianfei.svg',
	// 	text: '水电费账单'
	// },
	{
		user: ['landlord'],
		code: 'cashDetail',
		// iconPath: '/static/nameIcon/tixian.svg',
		iconPath: '/static/nameIcon/allExpend.svg',
		text: '提现申请'
	},
	
]
export const funList = [
	{
		user: ['admin'],
		code: 'utilityBill',
		iconPath: '/static/nameIcon/shuidianfei.svg',
		text: '水电费账单'
	},
	{
		user: ['landlord'],
		code: 'myHouse',
		iconPath: '/static/nameIcon/home.jpg',
		// iconPath:'/static/homebar.png',
		text: '我的房源'
	},
	// {
	// 	user: ['tourist', 'tenant', 'landlord'],
	// 	code: 'mycontract',
	// 	iconPath: '/static/nameIcon/myContract.svg',
	// 	text: '我的合同'
	// },
	{
		user: ['tourist', 'tenant'],
		code: 'mySubscribe',
		iconPath: '/static/nameIcon/mySubscribe.svg',
		text: '我的预约'
	},
	{
		user: ['admin'],
		code: 'allContract',
		iconPath: '/static/nameIcon/myContract.svg',
		text: '全部合同'
	},
	{
		user: ['admin'],
		code: 'allSubscribe',
		iconPath: '/static/nameIcon/mySubscribe.svg',
		text: '全部预约'
	},
	{
		user: ['tourist', 'landlord'],
		code: 'entrusted',
		iconPath: '/static/nameIcon/weituo.svg',
		text: '我的委托'
	},
	// {
	// 	user: ['tourist', 'tenant', 'landlord'],
	// 	code: 'collection',
	// 	iconPath: '/static/nameIcon/collection.svg',
	// 	text: '我的收藏'
	// },

	{
		user: ['tourist', 'tenant', 'landlord'],
		code: 'browsingHistory',
		iconPath: '/static/nameIcon/record.svg',
		text: '浏览记录'
	},

	{
		user: ['tenant'],
		code: 'myEvaluate',
		iconPath: '/static/nameIcon/evaluate.svg',
		text: '我的评价'
	},
	{
		user: ['tenant'],
		code: 'repairs',
		iconPath: '/static/nameIcon/repair.svg',
		text: '故障报修'
	},

	// ,
	// {
	// 	user: ['landlord'],
	// 	code: '',
	// 	iconPath: '/static/nameIcon/shangchuan.svg',
	// 	text: '图片上传'
	// }
]
export const list = [
	// {
	// 	code: 'myEvaluate',
	// 	iconPath: '/static/nameIcon/notification.svg',
	// 	text: '我的评价'
	// },
	// {
	// 	code: 'msg',
	// 	iconPath: '/static/nameIcon/notification.svg',
	// 	text: '通知中心'
	// }, 
	{
		code: 'feedback',
		iconPath: '/static/nameIcon/feedback.svg',
		text: '意见反馈'
	},
	{
		code: 'set',
		iconPath: '/static/nameIcon/set.svg',
		text: '设置'
	}
]
export const routeObj = {
	msg: "/pages/message/message",
	set: "/pagesA/setPage/setPage",
	feedback: '/pagesA/feedback/feedback',
	order1: '/pagesA/myOrders/myOrders?source=unpaid',
	order2: '/pagesA/myOrders/myOrders?source=complete',
	order: '/pagesA/myOrders/myOrders',
	mycontract: "/pagesA/mycontract/mycontract",
	mySubscribe: '/pagesA/mySubscribe/mySubscribe',
	collection: '/pages/collection/collection',
	browsingHistory: "/pagesA/browsingHistory/browsingHistory",
	myEvaluate: '/pagesA/myEvaluate/myEvaluate',
	repairs: '/pagesA/repairs/repairs',
	fundaccount: '/pagesA/fundaccount/fundaccount',
	utilityBill: '/pagesA/utilityBill/utilityBill',
	myHouse: '/pagesA/myHouse/myHouse',
	cashOut: '/pagesA/cashOut/cashOut',
	allContract:"/pagesA/mycontract/mycontract?type=admin",
	allSubscribe:'/pagesA/mySubscribe/mySubscribe?type=admin',
	cashDetail:'/pagesA/cashDetail/cashDetail',
	entrusted:'/pagesA/entrusted/entrusted',
}
//身份对应列表
export const identityObj = {
	1: 'tourist', //游客，未登录;普通用户
	2: 'tenant', //租户
	3: 'landlord', //房东
	4: 'admin', //管理员
}